package com.edu.object1;

public class test03 {
    public static void main(String[] args) {
        Car car = new Car();
        car.setName("奥特战车");
        System.out.println(car.getName());
        System.out.println(car.getPrice());
        Car car2 = new Car("迪迦",123);
        System.out.println(car2.getName());
        System.out.println(car2.getPrice());
    }
}
